home *** CD-ROM | disk | FTP | other *** search
- function sound_hel(x_sound)
- {
- if(hel_stoped)
- {
- hel_sound.attachSound(x_sound);
- hel_sound.start(0,1);
- hel_stoped = false;
- }
- else
- {
- hel_next = x_sound;
- }
- }
- function sound_eff(x_sound)
- {
- eff_sound.attachSound(x_sound);
- eff_sound.start(0,1);
- }
- function sound_obs(x_sound)
- {
- obs_sound.attachSound(x_sound);
- obs_sound.start(0,1);
- }
- var hel_stoped = true;
- var hel_next = "none";
- var hel_sound = new Sound();
- hel_sound.onSoundComplete = function()
- {
- hel_stoped = true;
- if(hel_next != "none")
- {
- sound_hel(hel_next);
- hel_next = "none";
- }
- };
- var eff_sound = new Sound();
- var obs_sound = new Sound();
- var amb_sound = new Sound();
- sound_obs("intro");
- stop();
-